﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace DNA.Mvc
{
    [Serializable, XmlRoot("event")]
    public class EventScore
    {
        [XmlAttribute("name")]
        public string Name { get; set; }

        [XmlAttribute("title")]
        public string Title { get; set; }

        [XmlAttribute("location")]
        public string Location { get; set; }

        [XmlText]
        public string Description { get; set; }

        [XmlAttribute("points")]
        public int Points { get; set; }

        [XmlAttribute("type")]
        public string EventType { get; set; }
    }
}
